﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GNF.GPS.ROYALTEK.Communication;

namespace GNF.GPS.ROYALTEK.Communication
{
    // Summary:
    //     Provides data for the System.IO.Ports.SerialPort.DataReceived event.
    public class DataReceivedEventArgs : EventArgs
    {
        /// <summary>
        /// holds the data of the event
        /// </summary>
        protected string _data;


        public string Data { get { return _data; } }

        public DataReceivedEventArgs(string data)
        {
            _data = data;
        }

    }
    
    public delegate void DataReceivedEventHandler(object sender, DataReceivedEventArgs e);
}

